package cn.lbwfree.web.entity;

public class ReturnBook {
    private Integer id;
    private Integer bookid;
    private Integer readerid;
    private String returntime;
    private Integer adminid;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getBookid() {
        return bookid;
    }

    public void setBookid(Integer bookid) {
        this.bookid = bookid;
    }

    public Integer getReaderid() {
        return readerid;
    }

    public void setReaderid(Integer readerid) {
        this.readerid = readerid;
    }

    public String getReturntime() {
        return returntime;
    }

    public void setReturntime(String returntime) {
        this.returntime = returntime;
    }

    public Integer getAdminid() {
        return adminid;
    }

    public void setAdminid(Integer adminid) {
        this.adminid = adminid;
    }

    @Override
    public String toString() {
        return "ReturnBook{" +
                "id=" + id +
                ", bookid=" + bookid +
                ", readerid=" + readerid +
                ", returntime='" + returntime + '\'' +
                ", adminid=" + adminid +
                '}';
    }

    public ReturnBook(Integer id, Integer bookid, Integer readerid, String returntime, Integer adminid) {
        this.id = id;
        this.bookid = bookid;
        this.readerid = readerid;
        this.returntime = returntime;
        this.adminid = adminid;
    }
}
